export type DataType = 'size' | 'frame'

export enum VideoState {
  READY = 'ready',
  COMPRESS = 'compress',
  ERROR = 'error',
  FINISH = 'finish'
}
export interface VideoType {
  name: string
  path: string
  process: number
  state: VideoState
}
export interface CompressOptions {
  file: VideoType
  fps: number
  size: string
  directory: string
  videoBitrate: number
}
export enum MainProcessNoticeType {
  END = 'end',
  PROGRESS = 'progress',
  ERROR = 'error',
  DIRECTORY_CHECK = 'directoryCheck',
  STOP = 'stop',
  FILE_IS_EXISTS = 'file_is_exists'
}
